package com.nju.graphx

import org.apache.spark.{SparkConf, SparkContext}

/**
 * 主启动类
 *
 * @authorliyunfei
 * @date2022/12/11
 * */
object GraphxSparkStarter {
       def initSpark()={
              val conf: SparkConf = new SparkConf().setAppName("gc").setMaster("local[*]")
              val sc: SparkContext = new SparkContext(conf)
              sc.setLogLevel("WARN")
              sc
       }

       def main(args:String)={

       }
}
